package com.yonyou.ucf.mdf.app.isvdxq.other.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yonyou.ucf.mdf.app.isvdxq.other.entity.ProductEntity;
import com.yonyou.ucf.mdf.app.isvdxq.other.entity.ProductSpecEntity;
import com.yonyou.ucf.mdf.app.isvdxq.other.entity.ProductTempSKUEntity;
import com.yonyou.ucf.mdf.app.isvdxq.other.entity.UnitassistEntity;

import java.util.ArrayList;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProductBeanForName<T> extends ProductEntity {
    private T name;

    public T getName() {
        return name;
    }

    public void setName(T name) {
        this.name = name;
    }

    //辅助计量单位2
    private List<UnitassistEntity> productTplAssistUnitExchanges = new ArrayList<>();

    public List<UnitassistEntity> getProductTplAssistUnitExchanges() {
        return productTplAssistUnitExchanges;
    }

    public void setProductTplAssistUnitExchanges(List<UnitassistEntity> productTplAssistUnitExchanges) {
        this.productTplAssistUnitExchanges = productTplAssistUnitExchanges;
    }

    //辅助计量单位
    private List<UnitassistEntity> productAssistUnitExchanges = new ArrayList<>();

    public List<UnitassistEntity> getProductAssistUnitExchanges() {
        return productAssistUnitExchanges;
    }

    public void setProductAssistUnitExchanges(List<UnitassistEntity> productAssistUnitExchanges) {
        this.productAssistUnitExchanges = productAssistUnitExchanges;
    }
    //物料SKU
    private List<ProductTempSKUEntity> productskus = new ArrayList<>();

    public List<ProductTempSKUEntity> getProductskus() {
        return productskus;
    }

    public void setProductskus(List<ProductTempSKUEntity> productskus) {
        this.productskus = productskus;
    }
    //物料规格
    private List<ProductSpecEntity> productspecitems = new ArrayList<>();

    public List<ProductSpecEntity> getProductspecitems() {
        return productspecitems;
    }

    public void setProductspecitems(List<ProductSpecEntity> productspecitems) {
        this.productspecitems = productspecitems;
    }
}
